package com.itcat.api.mysql;

import com.itcat.mysql.pojo.PmsProductFullReduction;

import java.util.List;

/**
 * @author Jerry Broker
 * @project_name rainbow-mall
 * @create 2022-04-04 0:21
 */
public interface PmsProductFullReductionApi {
    // 保存商品满减价格设置
    void saveList(List<PmsProductFullReduction> productFullReductionList);

    // 获取商品满减价格设置
    List<PmsProductFullReduction> findByProductId(Long productId);

    // 更新商品满减价格设置
    void updateList(List<PmsProductFullReduction> productFullReductionList);

    // 删除响应商品id的数据
    void deleteByProductId(Long productId);
}
